package com.springboot.cloud.demos.entity.enums;


public enum ProfitRecordType implements BaseEnum {

    outcome("0", "支出"), income("1", "收入");
    private String code;
    private String name;

    ProfitRecordType(String code, String name) {
        this.code = code;
        this.name = name;

    }


    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getName() {
        return name;
    }
}

